php forum
php mysql forum
php mysql smarty
 
Topic Options
#258682 - 09/11/03 06:55 PM Beta-[6.1-6.2-6.3] Delete groups
Slawek_L Offline
Enthusiast

Registered: 01/28/03
Posts: 364
Loc: Poland, Warsaw
Mod Name / Version: Delete groups <br /><br />Description: Abbility to delete groups <img src="/forum/images/graemlins/smile.gif" alt="" /> <br /><br />Working Under: UBB.Threads 6.1-6.2-6.3 <br /><br />Mod Status: Beta <br /><br />Any pre-requisites: none <br /><br />Author(s): Slawek_L <br /><br />Date: 09/12/03 <br /><br />Credits: <br /><br />Files Altered: menu.php <br /><br />New Files: deletegroup.php<br />dodeletegroup.php <br /><br />Database Altered: none <br /><br />Info/Instructions: Tested in 6.2.3 and in 6.1.1. <br />In 6.3 version I checked only tables names.<br /><br />Hack write for 6.2, but it will work for 6.1.x when we delete "get_input" lines. <br /><br />Disclaimer: Please backup every file that you intend to modify. <br />If the modification modifies the database, it's a good idea to backup your database before doing so. <br /><br />Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files. <br /><br />


Attachments
94464-deletegroup.zip (16 downloads)

_________________________
[]http://www.mb.org.pl/forum/images/graemlins/icon_astro.gif[/] MB Klub Polska
[b]& Orlen-Team

Top
#258683 - 09/12/03 04:45 AM Re: Beta-[6.1-6.2-6.3] Delete groups [Re: Dawg_dup1]
jluerken Offline
Member

Registered: 08/27/02
Posts: 233
What about members that are still in this group?<br />Are they moved out of them before with this hack?
_________________________
Ciao jluerken
--------------------
www.uce-clan.de www.clanforums.com

[]http://www.uce-clan.de/images/uce_banner2.gif[/]

Top
#258684 - 09/12/03 06:21 AM Re: Beta-[6.1-6.2-6.3] Delete groups [Re: edr]
Slawek_L Offline
Enthusiast

Registered: 01/28/03
Posts: 364
Loc: Poland, Warsaw
Hack delete group only. I dont know where move users, to which group. (admins, moderators, users or another?<br />
_________________________
[]http://www.mb.org.pl/forum/images/graemlins/icon_astro.gif[/] MB Klub Polska
[b]& Orlen-Team

Top
#258685 - 09/12/03 04:27 PM Re: Beta-[6.1-6.2-6.3] Delete groups [Re: Dawg_dup1]
Rick Offline
Guru

Registered: 05/11/99
Posts: 8373
Loc: Olympia, WA
I wouldn't recommend this hack. I posted a reason in another thread but I'll repost it here in case anyone misses it.<br /><br />Deleting groups isn't a good idea, which is why deleting a group was never an admin function. The U_Groups field is a varchar field, max limit of 255. The G_Id in the Groups table is an auto_incremented field. To make it so a user can belong to the maximum number of groups .threads enforces the max group # to 99, 2 digits in length. When you delete a group that G_Id will not be reused since it's an auto_inc field so eventually you'll end up not being able to create any new groups. That's why in 6.4 they don't actually delete they just get disabled.
_________________________
UBB.threads Developer

Top
#258686 - 09/19/03 05:10 AM Re: Beta-[6.1-6.2-6.3] Delete groups [Re: Sally]
jluerken Offline
Member

Registered: 08/27/02
Posts: 233
The right way must be.<br /><br />1. Move all users from this group to the 'users' group which should be in 99% of all boards ok.<br /><br />2. delete the group (or disable it so that its not visible anymore)<br /><br />3. Decrease the G-Id counter by 1 and change this also on the board to reflect this for all members.<br /><br /><br />Seems not to be so easy <img src="/forum/images/graemlins/frown.gif" alt="" />
_________________________
Ciao jluerken
--------------------
www.uce-clan.de www.clanforums.com

[]http://www.uce-clan.de/images/uce_banner2.gif[/]

Top



Moderator:  Ian_W 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks